<?php
/**
 * @name designerproperty.php
 * @date Created on 2015-12-3
 * @author liulei
 */
namespace haibao\cms\model\data\designer;

Class DesignerProperty extends \haibao\cms\model\data\Base{
    
    /**
     * 设计师ID
     */
    public $DesignerId = '';
    
    /**
     * 点击量
     */
    public $ClickNum = 0;
    
    /**
     * 评论数
     */
    public $CommentNum = 0;
    
    /**
     * 粉丝数
     */
    public $FansNum = 0;
    
    /**
     * 评论点赞数
     */
    public $CommentPariseNum = 0;
 
    public $EditClickNum = 0;
    
    public $EditFansNum = 0;
    
    public $WeightCount = 0;
    
    public $DesignerRelated;
    /**
     * 提问数
     */
    public $QuestionNum = 0;
    /**
     * 提问点赞数
     */
    public $QuestionPariseNum = 0;
    
    public function __construct(){
        parent::__construct();
        $this->intField('DesignerId', 'DesignerId',true);
        $this->intField('ClickNum', 'ClickNum');
        $this->intField('CommentNum', 'CommentNum');
        $this->intField('FansNum', 'FansNum');
        $this->intField('CommentPariseNum', 'CommentPariseNum');
        $this->intField('EditClickNum', 'EditClickNum');
        $this->intField('EditFansNum', 'EditFansNum');
        $this->intField('WeightCount', 'WeightCount');
        $this->intField('QuestionNum', 'QuestionNum');
        $this->intField('QuestionPariseNum', 'QuestionPariseNum');
        
        $this->setTableName('DesignerProperty');
    }
    
}